﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H


#include <QMainWindow>
#include "src/ui/course.h"
#include "src/ui/studentscore.h"
#include "src/ui/luaeditor.h"
#include <lua.hpp>
#include <QPlainTextEdit>
#include <third/qcp/qcustomplot.h>

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private:
    Ui::MainWindow *ui;

    Course* m_pCourse;
    StudentScore* m_pStudentScore;
    LuaEditor* m_pLuaEditor;
    QPlainTextEdit* p_plain;

    void initUI();
private slots:
    void test_run();
};
#endif // MAINWINDOW_H
